package com.wtb.javatool.dao;

import com.github.pagehelper.Page;
import com.wtb.javatool.entity.TeacherApply;
import com.wtb.javatool.vo.TeacherApplyRecordPageDto;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface TeacherApplyMapper {
    void insert(TeacherApply teacherApply);

    Page<TeacherApply> teacherApplyRecordpageQuery(TeacherApplyRecordPageDto teacherApplyRecordPageDTO);

    Page<TeacherApply> teacherListPage(@Param("name") String name,
                                       @Param("status") String status);
}
